package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商家提现
 */
@ApiModel(value = "com-lanchetech-entity-TenantWithdraw")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TenantWithdraw implements Serializable {
    @ApiModelProperty(value = "")
    private Long id;

    /**
     * 商家id
     */
    @ApiModelProperty(value = "商家id")
    private Long tenantId;

    /**
     * 提现金额
     */
    @ApiModelProperty(value = "提现金额")
    private BigDecimal amount;

    /**
     * 提现状态 0 待审核 1 已通过 3 已拒绝
     */
    @ApiModelProperty(value = "提现状态 0 待审核 1 已通过 3 已拒绝")
    private Integer status;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

    private static final long serialVersionUID = 1L;

    public static TenantWithdrawBuilder builder() {
        return new TenantWithdrawBuilder();
    }
}